Skip to content

Remove unused code: DataType module, LayoutCoverage, and ParameterForm.onInput#17

Merged
leeliu103 merged 1 commit intomainfrom
remove-unused-code
Jan 23, 2026
Merged

Remove unused code: DataType module, LayoutCoverage, and ParameterForm.onInput#17
leeliu103 merged 1 commit intomainfrom
remove-unused-code

Conversation

@leeliu103
Copy link
Owner

Removed the following unused code identified via codebase analysis:

  • DataType.ts and DataType.test.ts: Entire module unused in production (production uses resolveOperandDataType from PackingUtils instead)
  • LayoutCoverage interface and calculateCoverage function from BlockLayout.ts (moved calculateCoverage to BlockLayout.test.ts as test helper)
  • ParameterForm.onInput method: Never called in production (application uses onSubmit for explicit updates instead)

Updated test mocks to remove references to deleted onInput method.

…m.onInput

Removed the following unused code identified via codebase analysis:

- DataType.ts and DataType.test.ts: Entire module unused in production
  (production uses resolveOperandDataType from PackingUtils instead)
- LayoutCoverage interface and calculateCoverage function from BlockLayout.ts
  (moved calculateCoverage to BlockLayout.test.ts as test helper)
- ParameterForm.onInput method: Never called in production
  (application uses onSubmit for explicit updates instead)

Updated test mocks to remove references to deleted onInput method.

Co-Authored-By: Claude <noreply@anthropic.com>
@leeliu103 leeliu103 merged commit c42adcf into main Jan 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant